#include <cstdlib>
#include <iostream>
using namespace std;

char* s = (char*)malloc(sizeof(char) * 69);

int main()
{
    while (scanf("%s", s) != EOF)
        cout << (char)(s[0] >= 'a' && s[0] <= 'z' ? s[0] + ('A' - 'a') : s[0]);

    return 0;
}
